<!-- <!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
</head>
<body>
  <h1>循环演示</h1>
  <table border="1" width="500">
    <thead>
      <tr>
        <th>ID</th>
        <th>姓名</th>
        <th>绝招</th>
      </tr>
    </thead>
    <tbody> -->
      <!-- 方法一 -->
      <!-- {{each data value index}} -->
      <!-- 方法二 -->
      <!-- {{each list value index}}
      <tr>
        <td>{{value.id}}</td>
        <td>{{value.name}}</td>
        <td>{{value.skill}}</td>
      </tr>
      {{/each}} -->
      <!-- <tr>
        <td>11</td>
        <td>张三丰</td>
        <td>太极拳</td>
      </tr> -->
    <!-- </tbody>
  </table>
</body>
</html> -->

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
</head>
<body>
    <h1>循环演示</h1>

    <table border="1" width="500">
        <thead>
            <tr>
                <th>ID</th>
                <th>姓名</th>
                <th>绝招</th>
            </tr>
        </thead>

        <tbody>
            {{each list value}}
            <tr>
                <td>{{value.id}}</td>
                <td>{{value.name}}</td>
                <td>{{value.skill}}</td>
            </tr>
            {{/each}}
        </tbody>
    </table>


</body>
</html>